package com.hongxun.project.assets.pPole.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hongxun.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 低压杆塔采集表 p_pole
 * 
 * @author hongxun
 * @date 2019-03-19
 */
public class PPole extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private String id;
	/** 所属点位ID */
	private String pId;
	/** 运行编号 */
	private String runNumber;
	/** 杆塔性质 */
	private String type;
	/** 杆高 */
	private String poleHeight;
	/** 资产单位 */
	private String unit;
	/** 运维班组 */
	private String runTeam;
	/** 电杆材质 */
	private String poleMaterial;
	/** 电杆数量 */
	private Integer poleNum;
	/** 创建日期 */
	private Date addDate;
	/** 创建人 */
	private Integer addUser;
	/** 最近更新人 */
	private Integer updateUser;
	/** 最近更新日期 */
	private Date updateDate;
	/** 数据状态 */
	private String datastate;
	/** 任务ID */
	private String taskId;

	public void setId(String id) 
	{
		this.id = id;
	}

	public String getId() 
	{
		return id;
	}
	public void setPId(String pId) 
	{
		this.pId = pId;
	}

	public String getPId() 
	{
		return pId;
	}
	public void setRunNumber(String runNumber) 
	{
		this.runNumber = runNumber;
	}

	public String getRunNumber() 
	{
		return runNumber;
	}
	public void setType(String type) 
	{
		this.type = type;
	}

	public String getType() 
	{
		return type;
	}
	public void setPoleHeight(String poleHeight) 
	{
		this.poleHeight = poleHeight;
	}

	public String getPoleHeight() 
	{
		return poleHeight;
	}
	public void setUnit(String unit) 
	{
		this.unit = unit;
	}

	public String getUnit() 
	{
		return unit;
	}
	public void setRunTeam(String runTeam) 
	{
		this.runTeam = runTeam;
	}

	public String getRunTeam() 
	{
		return runTeam;
	}
	public void setPoleMaterial(String poleMaterial) 
	{
		this.poleMaterial = poleMaterial;
	}

	public String getPoleMaterial() 
	{
		return poleMaterial;
	}
	public void setPoleNum(Integer poleNum) 
	{
		this.poleNum = poleNum;
	}

	public Integer getPoleNum() 
	{
		return poleNum;
	}
	public void setAddDate(Date addDate) 
	{
		this.addDate = addDate;
	}

	public Date getAddDate() 
	{
		return addDate;
	}
	public void setAddUser(Integer addUser) 
	{
		this.addUser = addUser;
	}

	public Integer getAddUser() 
	{
		return addUser;
	}
	public void setUpdateUser(Integer updateUser) 
	{
		this.updateUser = updateUser;
	}

	public Integer getUpdateUser() 
	{
		return updateUser;
	}
	public void setUpdateDate(Date updateDate) 
	{
		this.updateDate = updateDate;
	}

	public Date getUpdateDate() 
	{
		return updateDate;
	}
	public void setDatastate(String datastate) 
	{
		this.datastate = datastate;
	}

	public String getDatastate() 
	{
		return datastate;
	}
	public void setTaskId(String taskId) 
	{
		this.taskId = taskId;
	}

	public String getTaskId() 
	{
		return taskId;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pId", getPId())
            .append("runNumber", getRunNumber())
            .append("type", getType())
            .append("poleHeight", getPoleHeight())
            .append("unit", getUnit())
            .append("runTeam", getRunTeam())
            .append("poleMaterial", getPoleMaterial())
            .append("poleNum", getPoleNum())
            .append("addDate", getAddDate())
            .append("addUser", getAddUser())
            .append("updateUser", getUpdateUser())
            .append("updateDate", getUpdateDate())
            .append("datastate", getDatastate())
            .append("taskId", getTaskId())
            .toString();
    }
}
